package com.atguigu.mapper.product;

import com.atguigu.entity.product.ProductDetails;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface ProductDetailsMapper {
    void submit(ProductDetails productDetails);

    void removeByProduct(Long productId);

    ProductDetails findDetailByProductId(Long id);

    void updateByProductId(ProductDetails productDetails);
}
